#ifndef APP_SCREEN_H
#define APP_SCREEN_H

#define DIS_DIR  0
#define USE_HORIZONTAL 1  //设置横屏或者竖屏显示 0或1为竖屏 2或3为横屏

#define TFT_COLUMN_NUMBER 240
#define TFT_LINE_NUMBER 240

#define TFT_COLUMN_OFFSET 0
#define TFT_LINE_OFFSET 0
/*****************颜色数据**************************/
#define WHITE            0xFFFF
#define BLACK            0x0000   
#define BLUE             0x001F  
#define BRED             0XF81F
#define GRED             0XFFE0
#define GBLUE            0X07FF
#define RED              0xF800
#define GREEN            0x07E0

void TFT_SPI_INIT();
void TFT_init(void);
void TFT_full(unsigned int color);
void Logo_display(const unsigned char *ptr_pic,unsigned int Bcolor,unsigned int Ccolor);
extern unsigned char  picture_tab[128*128];
#endif